//
//  FLLMaterialHeaderView.m
//  FLLGodOfCooking
//
//  Created by LL.F on 16/9/8.
//  Copyright © 2016年 LL.F. All rights reserved.
//

#import "FLLMaterialHeaderView.h"
#import "Masonry.h"
#import "FLLMacro.h"

@implementation FLLMaterialHeaderView
- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{

    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubViews];
    }
    return self;
}
- (void)createSubViews
{

    self.sectionLabel = [[UILabel alloc] init];
    [self addSubview:_sectionLabel];
}
- (void)layoutSubviews
{

    [super layoutSubviews];
    [_sectionLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(10);
        make.top.bottom.mas_equalTo(0);
        make.width.mas_equalTo(200);
    }];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
